
import {getBannerApi} from '@/api/user'
import { ref } from "vue";
export const useBanner =  () => {
    const bannerList=ref([])
const getBanner=async (distributionSite)=>{
  const res=await getBannerApi(distributionSite)
  // console.log(res.data.result)
  bannerList.value=res.data.result
}
getBanner('2')
return {bannerList}
}